/* 
  搜索相关的数据类型
*/

// 分类数据的类型
export interface CategoryModel {
  categoryId: number;
  categoryName: string;
}

// 分类列表数据的类型
export type CategoryListModel = CategoryModel[];

// 二级分类列表的数据类型
export interface Category2Model {
  word: string;
  shift: number;
  display_type: number;
  is_through: boolean;
  through_type: number;
  tgt_id: number;
  count: number;
  intro: string;
  url: string;
  display_word: string;
  outside_hot_search_type: number;
  score: number;
}

// 二级分类列表的数据
export type Category2ListModel = Category2Model[];

export interface albumResultModel {
  id: number;
  category: string;
  highlightKeyword: string;
  imgPath: string;
  keyword: string;
  play: number;
  tracks: number;
}

export type albumResultListModel = albumResultModel[];

export interface queryResultModel {
  id: number;
  highlightKeyword: string;
  keyword: string;
}

export type queryResultListModel = queryResultModel[];

export interface realModel {
  albumResultList: albumResultListModel;
  queryResultList: queryResultListModel;
}
